import request from "./http";

//手机登录
export function getLoginCellphone(params){
    return request({
        url:'/login/cellphone',
        method:"post",
        params
    })
}

//用户详情
export function getUserDetail(params){
    return request({
        url:'/user/detail',
        method:"post",
        params
    })
}

//获取账户信息
export function getUserAccount(params){
    return request({
        // url:'/user/account?cookie='+params,
        url:'/user/account',
        method:"post",
        params
    })
}

//获取登录状态
export function getLoginStatus(params){
    return request({
        url:'/login/status',
        method:"post",
        params
    })
}

//获取用户歌单
export function getUserPlaylist(params){
    return request({
        url:'/user/playlist',
        method:"post",
        params
    })
}

//喜爱音乐
export function getLike(params){
    return request({
        url:'/like',
        method:"get",
        params
    })
}

//用户喜爱音乐列表
export function getLikeList(params){
    return request({
        url:'/likelist',
        method:"get",
        params
    })
}